﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Globalization;
using System.Web.Mvc;
using System.Web.Security;

namespace Jinshiyu.Models
{
    public class CMemberViewModel
    {
        public string 账户 { get; set; }

        public string 姓名 { get; set; }

        public string 性别 { get; set; }

        [StringLength(11, MinimumLength = 11,ErrorMessage="手机号必须为11位数字")]
        public string 手机 { get; set; }

        public string 电话 { get; set; }

        [DataType(DataType.EmailAddress, ErrorMessage = "Email格式不正确")]
        [Display(Name="电子邮件")]
        public string Email { get; set; }

        public string 联系地址 { get; set; }

        public string 城市 { get; set; }

        public string 城区 { get; set; }

        public string 小区 { get; set; }
    }
}